package com.yh.patterns.TemplateMethod.job;

/**
 * @Author:云尚
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        //活期方式
        CurrentAccount currentAccount = new CurrentAccount();
        currentAccount.OperateProcess();
        System.out.println("===============");
        //定期方式
        SavingAccount savingAccount = new SavingAccount();
        savingAccount.OperateProcess();
    }
}
